import { http } from '@/utils/http'

/**
 * 申请
 * @param
 */
export const createRequestAPI = (data) => {
  return http({
    method: 'POST',
    url: '/request/request/createRequest',
    data
  })
}

/**
 * 获取轮播图
 * @param
 */
export const rotationListAPI = (data) => {
  return http({
    url: '/rotation/rotation/list',
    data
  })
}


/**
 * 进入首页弹出的图片
 * @param
 */
export const homeImageAPI = (data) => {
  return http({
    url: '/config/config/1',
    data
  })
}


/**
 * 合作类目
 * @param
 */
export const myRedTypeAPI = (data) => {
  return http({
    url: '/request/request/myRedType',
    data
  })
}